package com.hopu.oa.entity.mail;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hopu.oa.entity.management.AoaStatusList;
import com.hopu.oa.entity.management.AoaTypeList;
import com.hopu.oa.entity.plan.AttachmentList;
import com.hopu.oa.entity.user.AoaUser;
import lombok.Data;

import java.beans.Transient;
import java.util.Date;

@Data
@TableName("aoa_in_mail_list")
//内部邮件
public class Inmaillist {

    @TableId(value = "mail_id", type = IdType.AUTO)
    private Integer mailId;//邮件id

    private String content;//邮件内容

    private String mailCreateTime;//邮件创建时间

    private Integer mailFileid;//邮件附件id

    private String mailTitle;//邮件主题

    private Integer mailType;//邮件类型（通知，公告，邮件）

    private Integer mailInPushUserId;//发件人id

    private String inReceiver;//接收人（可以是多个）

    private Long mailStatusid;//邮件状态（一般，紧急，重要）

    private Integer mailNumberid;//外部邮件账号id

    private Integer del;

    private Integer mailPush;

    private Integer mailStar;

    private AoaUser aoaUser;

    private AoaMailnumber aoaMailnumber;

    private Mailreciver mailreciver;

    private Integer inmail;

    private String huizhuan;

    private AttachmentList attachmentList;
}
